package com.google.code.p.ivans.serviceinterfaces;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

import com.google.code.p.ivans.entities.*;
import com.google.code.p.ivans.myexceptions.EntityNotFoundException;
import com.google.code.p.ivans.myexceptions.NoLinksException;

public interface OrderServiceInterface {
	
	Order getOrderByID(long orderID) throws EntityNotFoundException, SQLException;
	
	List<Order> getAllOrders() throws SQLException, EntityNotFoundException;	
	
	void addOrder(Order order) throws  SQLException;
	
	void update(Order order);
	
	void removeByID(long ID) throws SQLException; 
	
	List<Waiter> getOrdersWaiters(long orderID) throws EntityNotFoundException, SQLException;
	
}
